package XMLread;

import com.google.android.maps.GeoPoint;


public class Exit {
	private String exitID;
	private GeoPoint geopoint;
	
	public Exit(String id, double latit, double longit){
		this.setExitID(id);

		setGeopoint(latit, longit);
	}
	
	public String getExitID() {
		return exitID;
	}
	
	public void setExitID(String exitID) {
		this.exitID = exitID;
	}
	
	public void setGeopoint(double latitude, double longitude) {
		this.geopoint = new GeoPoint((int) (latitude * 1e6), (int) (longitude * 1e6));
	}
	
	public GeoPoint getGeopoint(){
		return geopoint;
	}
}
